import request from "../utils/http";

// 获取系统设置
export function getSettings() {
    return request({
        url: "/system/settings",
        method: "get",
    });
}

// 更新系统设置
export function updateSettings(data) {
    return request({
        url: "/system/settings",
        method: "put",
        data,
    });
}